#include<stdio.h>
void main(){
	int a,b;
	printf("input a and b:");
	scanf("%d%d",&a,&b);
	int c=a/b;
	int d=a%b;
	printf("c=%d,d=%d\n",c,d);
	a++;
	b--;
	printf("a=%d,b=%d\n",a,b);	
	
	double d1,d2;
	printf("input d1,d2:");
	scanf("%lf%lf",&d1,&d2);
	double d3=d1/d2;
	//double d4=d1%d2;
	printf("d3=%lf\n",d3);
	int d5=(int)(d1/d2);
	printf("d5=%d\n",d5);
} 
